
package com.zsrt.day20170419.ch02;

/**
 * PHP工程师类
 * @author jmj
 * @date 2017年4月19日
 * @time 下午2:16:06
 */
public class PHPProgram implements  Programmer{


	/**
	 * 程序员的名字
	 */
	private String name;
	
	/**
	 * 程序员的性别
	 */
	private char  sex;
	
	/**
	 * 程序员的工资
	 */
	private  int salary;
	
	/**
	 * 程序员的水平级别
	 */
	private String level;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the sex
	 */
	public char getSex() {
		return sex;
	}

	/**
	 * @param sex the sex to set
	 */
	public void setSex(char sex) {
		this.sex = sex;
	}

	/**
	 * @return the salary
	 */
	public int getSalary() {
		return salary;
	}

	/**
	 * @param salary the salary to set
	 */
	public void setSalary(int salary) {
		this.salary = salary;
	}

	/**
	 * @return the level
	 */
	public String getLevel() {
		return level;
	}

	/**
	 * @param level the level to set
	 */
	public void setLevel(String level) {
		this.level = level;
	}

	
	/**
	 * @param name
	 * @param sex
	 * @param salary
	 * @param level
	 */
	public PHPProgram(String name, char sex, int salary, String level) {
		super();
		this.name = name;
		this.sex = sex;
		this.salary = salary;
		this.level = level;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PHPProgram [name=" + name + ", sex=" + sex + ", salary=" + salary + ", level=" + level + "]";
	}

	
}
